Dynamic Access Modifier

Modified on 2012/01/20 21:14 by John — Categorized as: Jetfire Language

Overview

Access modifiers are keywords used to specify the declared accessibility of a member or a type. The four access modifiers:
Jetfire allows access modifiers to be dynamic. Typically in an OO language access modifiers (including C#) are fixed in the code. The access modifiers can not be changed without changing the source code.

Jetfire allows access modifiers to changed dynamically using 4 separate mechanisms:
Note: For code compilation Jetfire only uses the standard access modifiers (public, protected, internal and private). That is, the standard access modifiers determine if the object, such as workflow, property, method or field, is visible to other code. If the object is referenced in other code where it is not visible a compilation error will result.

The dynamic access modifier mechanisms determine if access is allowed when the code is executed.